Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uorb: add section on nested messages #3562

Merged
merged 6 commits into from
Feb 6, 2025

Conversation

GuillaumeLaine
Copy link
Contributor

Follow up to: #3465 (comment)

@hamishwillee
Copy link
Collaborator

@GuillaumeLaine You're going to hate me, but I just did a fairly significant restructure of the starting section on defining messages. This is to fix the fact that nested messages was "floating" and it wasn't clear to me the difference between messages and topics.

The reason you'll hate me is that this will require a rebase of the other PR and a little restructure on that.
The good news is that you'll be able to add versioning into that structure fairly easily I think.

Let me know what you think? Note, I wrote this late in the day. I'm pretty sure the structure is good, but there might be typos and grammar errors.

Copy link
Contributor Author

@GuillaumeLaine GuillaumeLaine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hamishwillee I think the restructure makes a lot of sense, I'm happy to rebase the other PR once this one goes in 👍🏻

PositionSetpoint previous
PositionSetpoint current
PositionSetpoint next
```

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GuillaumeLaine A few lines below it says

The listener command is only available on Pixracer (FMUv4) and Linux / OS X.

Is that still true? How can I check the supported boards?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, I'm not even sure how to check. I think the CONFIG_SYSTEMCMDS_TOPIC_LISTENER=y board config enables the listener command, but I'm not sure.

If this is case, this config does seem enabled for most boards.

What I can tell is that the line you quoted was written in the docs earlier (4 years ago) than the listener board config was enabled in most boards (3 years ago). Seems possible that docs were not updated after the fact

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice forensics! Also interesting that the boards after fmuv4 are enabled, but the older ones aren't. I'm going to update this as though we were certain.

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I think this is good. Merging. Much appreciated @GuillaumeLaine

@hamishwillee hamishwillee merged commit 8a04a04 into PX4:main Feb 6, 2025
2 checks passed
Copy link

github-actions bot commented Feb 6, 2025

No flaws found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants